package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TMemberRegisterMapper;
import com.hu.zhcc.shiro.entity.lgx.TMemberRegister;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class TMemberRegisterServiceImpl implements TMemberRegisterService {
    @Autowired
    TMemberRegisterMapper tMemberRegisterMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tMemberRegisterMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TMemberRegister record) {
        return tMemberRegisterMapper.insert(record);
    }

    @Override
    public int insertSelective(TMemberRegister record) {
        return tMemberRegisterMapper.insertSelective(record);
    }

    @Override
    public TMemberRegister selectByPrimaryKey(Integer id) {
        return tMemberRegisterMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TMemberRegister record) {
        return tMemberRegisterMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TMemberRegister record) {
        return tMemberRegisterMapper.updateByPrimaryKey(record);
    }

    @Override
    public TMemberRegister tmemberRegDate(String date) {
        return tMemberRegisterMapper.tmemberRegDate(date);
    }

    @Override
    public String zctime(String date) {
        return tMemberRegisterMapper.zctime(date);
    }
}
